package com.maslyk.invitation.to;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.maslyk.invitation.BeanService;
import com.maslyk.invitation.entitybean.Salesman;
import com.maslyk.invitation.enums.AdditionalStatusEnum;
import com.maslyk.invitation.enums.OrderStatusEnum;

/**
 *
 * @author kris
 */
public class OrderSearchCondition
{
    private String      number = null;
    private List<Integer>  status = null;
    private List<Integer>  additionalStatus = null;
    private String		product = null;
	private String      brideName = null;
    private String      brideGroom = null;
    private Date        registrationdate = null;
    private Date        weddingDateTime = null;
    private String      weddingplace = null;
    private String      weddingpartyplace = null;
    private Salesman    salesmanResponsible = null;
    private String      clientName = null;
    private String      email = null;
    private boolean		searchInOffers = true;

    public OrderSearchCondition()
    {
    	status = new ArrayList<Integer>();
        status.add(OrderStatusEnum.WPROWADZONE.getStatus());
        status.add(OrderStatusEnum.CZEKAMY_NA_TOWAR.getStatus());
        status.add(OrderStatusEnum.DO_ODBIORU.getStatus());
        status.add(OrderStatusEnum.OCZEKUJACE.getStatus());
        status.add(OrderStatusEnum.PRZYGOTOWAC_DO_REALIZACJI.getStatus());
        status.add(OrderStatusEnum.REALIZACJA.getStatus());
        status.add(OrderStatusEnum.ZAMOWIC.getStatus());
        status.add(OrderStatusEnum.PRZYGOTOWAC_PRJ.getStatus());
        
        additionalStatus = new ArrayList<Integer>();
        additionalStatus.add(AdditionalStatusEnum.BRAK.getStatus());
        additionalStatus.add(AdditionalStatusEnum.ZALICZKA.getStatus());
        additionalStatus.add(AdditionalStatusEnum.CALOSC.getStatus());
        
        searchInOffers = true;
    }

    public String getBrideGroom()
    {
        return brideGroom;
    }

    public void setBrideGroom(String brideGroom)
    {
        this.brideGroom = brideGroom;
    }

    public String getBrideName()
    {
        return brideName;
    }

    public void setBrideName(String brideName)
    {
        this.brideName = brideName;
    }

    public String getNumber()
    {
        return number;
    }

    public void setNumber(String number)
    {
        this.number = number;
    }

    public Date getRegistrationdate()
    {
        return registrationdate;
    }

    public void setRegistrationdate(Date registrationdate)
    {
        this.registrationdate = registrationdate;
    }

    public List<Integer> getStatus()
    {
        return status;
    }

    public void setStatus(List<Integer> status)
    {
        this.status = status;
    }

    public Date getWeddingDateTime()
    {
        return weddingDateTime;
    }

    public void setWeddingDateTime(Date weddingDateTime)
    {
        this.weddingDateTime = weddingDateTime;
    }

    public String getWeddingpartyplace()
    {
        return weddingpartyplace;
    }

    public void setWeddingpartyplace(String weddingpartyplace)
    {
        this.weddingpartyplace = weddingpartyplace;
    }

    public String getWeddingplace()
    {
        return weddingplace;
    }

    public void setWeddingplace(String weddingplace)
    {
        this.weddingplace = weddingplace;
    }

	public String getClientName()
    {
        return clientName;
    }

    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

	public Salesman getSalesmanResponsible() 
	{
		return salesmanResponsible;
	}

	public void setSalesmanResponsible(Salesman salesmanResponsible) 
	{
		this.salesmanResponsible = salesmanResponsible;
	}
	
    public String getProduct()
	{
		return product;
	}

	public void setProduct(String product)
	{
		this.product = product;
	}

	public List<Integer> getAdditionalStatus() {
		return additionalStatus;
	}

	public void setAdditionalStatus(List<Integer> additionalStatus) {
		this.additionalStatus = additionalStatus;
	}

	public boolean isSearchInOffers() {
		return searchInOffers;
	}

	public void setSearchInOffers(boolean searchInOffers) {
		this.searchInOffers = searchInOffers;
	}
}
